package com.example.springboot2.oa.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_diary")
public class TDiary {
  private String diaryId;
  private String studentId;
  private String teacherId;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
  private Date createTime;
  private String diaryTitle;
  private String diaryText;
  private long diaryState;
  private String remarks;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
  private Date updateTime;
  private String fraction;
}
